<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <DeviceRollershadesMonitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="历史数据">
        <DeviceRollershadesData :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="告警数据">
        <DeviceRollershadesAlarm :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="升降手动设置">
        <DeviceRollershadesConfigUpdownSwitch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="全局控制">
        <DeviceRollershadesConfigSwitch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="其他设置">
        <DeviceRollershadesConfigOther :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="推送情况">
        <DeviceRollershadesConfigQueue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="固件升级">
        <DeviceRollershadesFirmwareUpgrade  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="定时任务">
        <DeviceRollershadesOpentaskEveryday  :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceRollershadesMonitor from './rollershades-monitor.vue'
import DeviceRollershadesData from './rollershades-data.vue'
import DeviceRollershadesAlarm from './rollershades-alarm.vue'
import DeviceRollershadesConfigSwitch from './rollershades-config-switch.vue'
import DeviceRollershadesConfigOther from './rollershades-config-other.vue'
import DeviceRollershadesConfigQueue from './rollershades-config-queue.vue'
import DeviceRollershadesFirmwareUpgrade from './rollershades-firmware-upgrade.vue'
import DeviceRollershadesConfigUpdownSwitch from './rollershades-config-updown-switch.vue'
import DeviceRollershadesOpentaskEveryday from './rollershades-opentask-everyday.vue'
export default {
  name: 'DeviceRollershades',
  components: {
    DeviceRollershadesMonitor,
    DeviceRollershadesData,
    DeviceRollershadesAlarm,
    DeviceRollershadesConfigSwitch,
    DeviceRollershadesConfigOther,
    DeviceRollershadesConfigQueue,
    DeviceRollershadesFirmwareUpgrade,
    DeviceRollershadesConfigUpdownSwitch,
    DeviceRollershadesOpentaskEveryday
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
